<?php
ini_set('display_errors',1);
error_reporting(E_ALL);

function vd($s)
{
    echo '<pre>';
    var_dump($s);
    echo '</pre>';
}

require_once "include.php";
/*
ob_start();

$contents = ob_get_contents();


        ob_end_clean();
$myFile = "testFile".(rand()%1000).".txt";
$fh = fopen($myFile, 'w') or die("can't open file");
fwrite($fh, $contents);
fclose($fh);*/

Site::Init();

/*
echo 'debug<br><hr>';
vd(Route::$route);
echo "\ncookies:\n";
vd(Context::$cookies->GetRaw());
echo "\nget:\n";
vd(Context::$get->GetRaw());
echo "\npost:\n";
vd(Context::$post->GetRaw());
echo "\req:\n";
vd($_REQUEST);
echo "\uploadedFiles:\n";
vd(Context::$uploadedFiles->GetRaw());
 */
 
?>
